package com.godyao.mall.oauth.server.controller;

import com.godyao.mall.core.model.ResultMsg;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author godyao
 * @date 2022/4/2
 */
@RestController
public class TestController {

    @GetMapping("/test/{msg}")
    public ResultMsg test(@PathVariable String msg) {
        return ResultMsg.resultSuccess(msg);
    }
}
